from app.modules.apps.container_httpd import HttpdPhpApp

httpd = HttpdPhpApp(app_id='gzidc:jinxuan',
                    app_name='jx',
                    zone_home_path='/usr/local/app/uc.gzidc.area',
                    zone_alias='gzidc',
                    port='4580',
                    nas_app_package_path='/mnt/winitRelease/php/jx/jinxuan-1.0.0_-160831_184054')

httpd.uninstall_app()
httpd.install_app()
httpd.restart()
